home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
Libraries
/
mymenv-notify 2.0
/
vmymenv.cc
< prev
next >
Wrap
C/C++ Source or Header
|
1995-06-05
|
574b
|
22 lines
/*
************************************************************************
* A simple file that verifies
* Service C++ functions
* that support the standard environment for me
*/
#include "mymenv.h"
void main()
{
Initialize_MAC();
alert("This is a message...");
set_error_sound("\pQuack");
alert("This is a message with a different sound");
alert("Standard system beep should sound again");
notify("Notification %d",1);
notify("Notification %ld",2);
notify_and_wait("Last_notification");
_die("Just to tell ya I'm getting out of here...");
}